﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Traceability_Management.Domain
{
    public class Farmings
    {
        /// <summary>
        /// 养殖表主键
        /// </summary>
        [Key]
        public int Farming_Id { get; set; }
        /// <summary>
        /// 溯源编号
        /// </summary>
        public string? Rabit_Batch { get; set; }
        /// <summary>
        /// 品种
        /// </summary>
        public string? Farming_Type { get; set; }
        /// <summary>
        /// 来源
        /// </summary>
        public string? Farming_Way { get; set; }
        /// <summary>
        /// 饲养天数
        /// </summary>
        public int? Farming_Days { get; set; }
        /// <summary>
        /// 饲养品牌
        /// </summary>
        public string? Farming_FoodType { get; set; }
        /// <summary>
        /// 饲养负责人
        /// </summary>
        public string? Farming_Fooder { get; set; }
        /// <summary>
        /// 出栏日期
        /// </summary>
        public DateTime? Farming_OutintoTime { get; set; }

        /// <summary>
        /// 图片
        /// </summary>
        public string? Farming_Img { get; set; }
        public string? Company_Img { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool Farming_Isdel { get; set; }
    }
}
